package com.xmotor.service;

import com.xmotor.dao.UserDao;
import com.xmotor.model.UserDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserDao userDao;

    public UserDO findById(Integer id){
        return userDao.findUserById(id);
    }
}
